<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="servletinsert" method="post">  
	<table align="center">
		<caption>
			<h2>欢迎进入添加页面</h2>
		</caption>
		<tr>
			<td>请输入学号</td>
			<td>
				<input type="text" name="id">
			</td>
			<td>
				<h6>如"2016001"</h6>
			</td>
		</tr>
		<tr>
			<td>请输入姓名</td>
			<td>
				<input type="text" name="name">
			</td>
		</tr>
		<tr>
			<td>请选择性别</td>
			<td>
				<input type="radio" name="sex" value="1" checked="checked">男
				<input type="radio" name="sex" value="0">女
			</td>
		</tr>
		<tr>
			<td>请输入所在城市</td>
			<td>
				<input type="text" name="city">
			</td>
		</tr>
		<tr>
				<td colspan="2" align="center">
					<input type="submit" value="添加">
					<input type="button" value="主页面" onclick="location.href='main.jsp'">
				</td>
		</tr>
	</table>
</form>
</body>
</html>